<?php 
/*
	Vista: Vista Busqueda
	
*/
?>
	<div id"vista">
	  <br />
	   <div id="titulo">
		Ficha de ingreso de material	   </div>
<form id="form1" name="form1" method="POST" action="">
  <label></label>
  <br />
  <table width="562" border="0">
    <tr>
      <td width="208" class="clave"><div align="left">&Aacute;rea </div></td>
      <td width="344"><select name="id_area" id="id_area">
        <?php
  while(!$reco_set->EOF){
?>
        <option value="<?php echo $reco_set->Fields('id_area')?>"><?php echo $reco_set->Fields('describe_area')?></option>
        <?php
    $reco_set->MoveNext();
  }
  $reco_set->MoveFirst();
?>
        <?
  
  ?>
      </select></td>
    </tr>
    <tr>
      <td  class="clave"><div align="left">Colecci&oacute;n</div></td>
      <td><label>
        <select name="id_coleccion" id="id_coleccion" >
          <?php
  while(!$reco_coleccion->EOF){
?>
          <option  value="<?php echo $reco_coleccion->Fields('id_coleccion')?>"><?php echo $reco_coleccion->Fields('describe_coleccion')?></option>
          <?php
    $reco_coleccion->MoveNext();
  }
  $reco_coleccion->MoveFirst();
?>
        </select>
      </label></td>
    </tr>
    <tr>
      <td  class="clave"><div align="left">C&oacute;digo Barra </div></td>
      <td><input name="codbarra_material" type="text" id="codbarra_material"></td>
    </tr>
    <tr>
      <td  class="clave"><div align="left">C&oacute;digo Dewey </div></td>
      <td><label>
        <input name="coddewey" type="text" id="coddewey">
	</label></td>
    </tr>
    <tr>
      <td  class="clave"><div align="left">Precio</div></td>
      <td><label>
        <input name="precio_material" type="text" id="precio_material">
      </label></td>
    </tr>
    <tr>
      <td  class="clave"><div align="left">Copia</div></td>
      <td><label>
        <select name="copia_material" id="copia_material">
		<?php for($i=1;$i<=10;$i++){ ?>
          <option value="<?php echo $i; ?>"><?php echo $i; ?></option>
        <?php } ?>
		</select>
      </label></td>
    </tr>
    <tr>
      <td colspan="2" align="center"><p align="center">
        <label>
          <input name="material" type="radio" value="1" checked="checked">
          Libro</label> 
        <label>
          <input type="radio" name="material" value="2">
          Publicaci&oacute;n</label>
        <label>
          <input type="radio" name="material" value="3">
          Media</label>
        <br>
          </p>        </td>
    </tr>
  </table>
  <p>
    <label></label>
    <label>
	
    <input type="submit" name="Submit" value="ingresar">
    </label>
  </p>
  <p>
    <label></label>
  </p>
  <input type="hidden" name="MM_insert" value="form1">
</form>

	  <br />
	</div>
<?php
$reco_set->Close();

$reco_coleccion->Close();
?>
